<?php

$showTab	= $this->countModules('tab03') || $this->countModules('tab04') || $this->countModules('tab05') ;
$showTab1  = $this->countModules('tab06');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<jdoc:include type="head" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>TPM Solutions</title>
<!-- Stylesheet -->
<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/tpmsolutions/css/style.css"  />
<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/tpmsolutions/css/ddsmoothmenu.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/tpmsolutions/css/jquery.fancybox-1.3.4.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/tpmsolutions/css/tpm.css"  />
<!-- Javascript -->
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/ddsmoothmenu_.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/contentslider.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/jquery.fancybox-1.3.4.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/jquery.carouFredSel-6.1.0.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/menu.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/tabs.js"></script>
<script type="text/javascript">
$(function() {
	$('#foo2').carouFredSel({
	auto: true,
	prev: '.leftarrow',
	next: '.rightarrow',
	scroll: 1500,
	mousewheel: true,
	swipe: {
		onMouse: true,
		onTouch: true
		}
	});
});
</script>
<script type="text/javascript">
		$(document).ready(function() {
				$("a.fancy").fancybox({
				'opacity'		: true,
				'overlayShow'	: false,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'none'
			});
		});
</script>	
</head>
<body>
<div id="bg">
<!-- Wapper Sec -->
	<div id="wrapper_sec">
		 <!-- masterhead -->
			<div id="masterhead">				
                <div class="logo"><a href=""><img src="<?php echo $this->baseurl ?>/templates/tpmsolutions/images/logo_TPM_2.png" alt="" /></a></div>            	
						<div class="topright_sec">                                         
							<div class="honesty">
								<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
								codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
								width="100" height="25" id="bg" align="">
								<param name=movie value="<?php echo $this->baseurl ?>/images/honesty.swf"><param name=quality value=high><param name=wmode value=transparent>
								<embed src="<?php echo $this->baseurl ?>/images/honesty.swf" quality=high wmode=transparent width="100" height="25" name="bg" align=""
								type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
								</embed></object>
							</div>		
							<div class="effectiveness">
								<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
								codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
								width="120" height="25" id="bg" align="">
								<param name=movie value="<?php echo $this->baseurl ?>/images/effectiveness.swf"><param name=quality value=high><param name=wmode value=transparent>
								<embed src="<?php echo $this->baseurl ?>/images/effectiveness.swf" quality=high wmode=transparent width="120" height="25" name="bg" align=""
								type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
								</embed></object>
							</div>	
							<div class="simplicity">
								<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
								codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
								width="100" height="25" id="bg" align="">
								<param name=movie value="<?php echo $this->baseurl ?>/images/Simplicity.swf"><param name=quality value=high><param name=wmode value=transparent>
								<embed src="<?php echo $this->baseurl ?>/images/simplicity.swf" quality=high wmode=transparent width="100" height="25" name="bg" align=""
								type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
								</embed></object>
							</div>	
							<div class="responsibility">
								<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
								codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
								width="130" height="25" id="bg" align="">
								<param name=movie value="<?php echo $this->baseurl ?>/images/responsibility.swf"><param name=quality value=high><param name=wmode value=transparent>
								<embed src="<?php echo $this->baseurl ?>/images/responsibility.swf" quality=high wmode=transparent width="130" height="25" name="bg" align=""
								type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
								</embed></object>
							</div>				
                            <jdoc:include type="modules" name="top-left"/>                                    				
						</div><!--topright_sec-->
						<div class="clear"></div>        
								<jdoc:include type="modules" name="lang"/>       
                                    <div class="clear"></div>								
                            <div class="navigation">                             
									<jdoc:include type="modules" name="navigation"/>                                                                                       
                                    <div class="clear"></div>	
                            </div>    
		    </div>
		<!-- Content Seciton -->
        	<div id="content_section">
        		<!-- News Updates -->
            		<div class="news_updates">
            			   	<!--<span class="news_update"><?php //echo JText::_('BREADCRUMBS'); ?></span>-->							
						<jdoc:include type="modules" name="breadcrumb"/>
                    </div>						
					<div id="search_news">
                        <jdoc:include type="modules" name="search"/>
					</div>	
                    <div class="clear"></div>
				<!-- Col1 -->
                	<div class="col1">

                        <jdoc:include type="message" />
						<jdoc:include type="modules" name="comment"/>
                        <jdoc:include type="component" />
                         
                          <div class="clear"></div>
                             <!-- Content Block -->
                             	<div class="contentblock">
                                	<!-- Tabs -->	
									<?php if($showTab) {?>
                                    	<div class="tabwrapper">
                                        	<div class="tabs_links">
                                            	<ul>
                                                	<li><a  href="#tab1"><?php echo JText::_('NEWS01'); ?></a></li>
                                                    <li><a href="#tab2"><?php echo JText::_('NEWS02'); ?></a></li>                                                    
                                                    <li><a class="nobg1" href="#tab3"><?php echo JText::_('NEWS03'); ?></a></li>
                                                </ul>
                                            </div>
                                            <div class="tab_content" id="tab1" style="display:none" >
													<jdoc:include type="modules" name="tab03"/>
                                            	
                                                <div class="clear"></div>
                                            </div>
                                            
                                            <div class="tab_content" id="tab2" style="display:none" >
												<jdoc:include type="modules" name="tab04"/>
                                            	
                                                <div class="clear"></div>
                                            </div>
                                            
                                            <div class="tab_content" id="tab3" style="display:none" >
												<jdoc:include type="modules" name="tab05"/>
                                            	
                                                <div class="clear"></div>
                                            </div>
                                            
                                        </div> <?php } ?>
                                        <!-- Search Course -->
											<?php if($showTab1) {?>
                                        	<div class="search_course">
                                            	<h3 style="margin-bottom: 6px; margin-top:12px; font-size: 16px; font-family: tahoma; color: #6E0800 !important;"><?php echo JText::_('NEWS04'); ?></h3>
                                                
                                               
                                               
											<div class="tab_content1"  >
											<jdoc:include type="modules" name="tab06"/>
                                            	
                                                <div class="clear"></div>
                                            </div>
                                            
                                                  
                                               
                                            </div><?php } ?>        

                                        <div class="clear"></div>
                               	 	</div>	   
                               	<div class="clear"></div>
                    		<!-- col1 ends -->	
                    </div>
               <!-- Col2 -->
                	<div class="col2">
                    	
							<jdoc:include type="modules" name="banner_QC"/>
                        
                      		<!-- Top Student -->  
                        		<div class="rtab">
                                	<div class="tab_navigation">
                                    	<ul>
                                        	<li class="active" ><a   href="#rtab1"><?php echo JText::_('LASTEST_NEWS'); ?></a></li>
                                        	<li><a href="#rtab2"><?php echo JText::_('MOST_VIEW'); ?></a> </li>
                                        </ul>
                                    </div>
                                    <div class="rtab_content" id="rtab1" style="display:none;">
										<jdoc:include type="modules" name="tab01" style=""/>
                                  
                                        <div class="clear"></div>
                                    </div>
                                    
                                    <div class="rtab_content" id="rtab2" style="display:none;">
										<jdoc:include type="modules" name="tab02"/>
                                    	
                                        <div class="clear"></div>
                                    </div>
                                    
                                </div>
                    		<!-- Our College Gallery -->	
                                
									<jdoc:include type="modules" name="gallery"/>
                                
                    		<div class="clear"></div>	
 						<!--col2 ends -->			
              		</div>
                <div class="clear"></div>
			<!-- Slder -->	

				<div class="image_scroll">
                	<a class="leftarrow" href="#"> >> </a>
                    	<jdoc:include type="modules" name="slider_bot"/>
						<div class="list_carousel slider1">
                        	<ul id="foo2">							
								<li><img src="images/Decathlon_Logo.png" alt="" /></li>							
								<li><img src="images/Unilever.png" alt="" /></li>
								<li><img src="images/logo_vinamit.png" alt="" /></li>
								<li><img src="images/Adidaslogo2.png" alt="" /></li>
								<li><img src="images/hk.png" alt="" /></li>
								<li><img src="images/tantan.png" alt="" /></li>
					       </ul>
						</div>
                    <a class="rightarrow" href="#"> << </a>
                </div>		
            </div>	
		<div class="clear"></div>
	</div>
</div>    
<!-- Footer Section -->

<!-- Bototm seciton -->
	<div id="bottom_Section">
	<!-- page bottm -->
       	<div id="pagebottom">
    		<!-- copyright -->
            <div class="copyright">Bản quyền &copy; 2011 thuộc về<a href="http://tpmsolutions.com.vn"> TPM Solutions</a>. Thiết kế bởi <a href="http://hoangkhang.com.vn/">Hoàng Khang Incotech</a></div>
            	<a href="#" class="top">Top</a>
    			<!-- Social Networks -->

             <div class="clear"></div>     	
    	</div>
	</div>
</body>
</html>